package com.jlf.tool.id;

import com.jlf.tool.id.seq.Sequence;

/**
 * 雪花算法的分布式id
 *
 * @author wujr
 * 2023/7/8
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/8 1.0 新增]
 */
public class SnowflakeId {
    private static final Sequence _sequence = new Sequence();

    public static long next(){
        return _sequence.next();
    }
}
